< previous page page_104 next page >

Page 104
Note
The Coolbar control is found in the Windows Common Controls 6.0-3 (MSCOMCT3.OCX).

Start by adding the Coolbar control to the form; then draw the two toolbars onto the coolbar (see Figure 4.13). Then, set the properties of each control as shown in Table 4.3.
12181-0104a.gif
Figure 4.13.
Adding the Toolbar controls to the coolbar.
TABLE 4.3. COOLBAR PROJECT CONTROLS.
ControlPropertyValue
CoolbarNameclbDemo
AlignTop
ToolbarNametlbBar1
AppearanceccFlat
ToolbarNametlbBar2
AppearanceccFlat

Now, using the property page, assign each toolbar to a band as shown in Figure 4.14.
12181-0104b.gif
Figure 4.14.
Assigning the Child control property
for each Coolbar band.

 
< previous page page_104 next page >

If you like this book, buy it!